<?php
/* @var $this CustomerBusinessController */
/* @var $model CustomerBusiness */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cust_industry'); ?>
		<?php echo $form->textField($model,'cust_industry',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cust_name'); ?>
		<?php echo $form->textField($model,'cust_name',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cust_head'); ?>
		<?php echo $form->textField($model,'cust_head',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cust_addnum'); ?>
		<?php echo $form->textField($model,'cust_addnum',array('size'=>60,'maxlength'=>80)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cust_city'); ?>
		<?php echo $form->textField($model,'cust_city',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cust_country'); ?>
		<?php echo $form->textField($model,'cust_country',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cust_faxnum'); ?>
		<?php echo $form->textField($model,'cust_faxnum'); ?>
	</div>	

	<div class="row">
		<?php echo $form->labelEx($model,'contact_lname'); ?>
		<?php echo $form->textField($model,'contact_lname',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contact_fname'); ?>
		<?php echo $form->textField($model,'contact_fname',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contact_telnum'); ?>
		<?php echo $form->textField($model,'contact_telnum'); ?>
	</div>


	<div class="row">
		<?php echo $form->labelEx($model,'contact_email'); ?>
		<?php echo $form->textField($model,'contact_email',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cust_contact'); ?>
		<?php echo $form->textField($model,'cust_contact',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cust_telnum'); ?>
		<?php echo $form->textField($model,'cust_telnum'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
